//
//  KmlElementDB.h
//  Tazama NGO
//
//  Created by jsheriff on 5/31/11.
//  Copyright 2011 The MITRE Corporation. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "KMLParser.h"

@interface KmlElementDB : NSObject {
	NSArray *kmlAnnotationList;
    NSArray *kmlOverlayList;
    KMLParser *kmlParser;
    NSTimer *timer;
}

@property (nonatomic, retain) NSArray *kmlAnnotationList;
@property (nonatomic, retain) NSArray *kmlOverlayList;
@property (nonatomic, retain) KMLParser *kmlParser;

- (MKAnnotationView *)viewForAnnotation:(id <MKAnnotation>)annotation;

- (void)stopPollingFeed;
- (void)startPollingFeed;
- (void)readFeedNow;

+(KmlElementDB *)sharedInstance;

@end
